package com.itdao.dp.strategy.account2.behavior2.impl;

import com.itdao.dp.strategy.account2.behavior2.ILoginService;
import com.itdao.dp.strategy.account2.dto.LoginDto;
import com.itdao.dp.strategy.account2.dto.RegisterDto;

/**
 * 手机号账户服务类
 */
public class MobileLoginServiceImpl implements ILoginService {
    /**
     * 手机号登录
     */
    @Override
    public void login(LoginDto loginDto) {
        System.out.println(">>>>> 手机号登录:username="
                + loginDto.getUsername() + ",password=" + loginDto.getPassword());
    }

    /**
     * 手机号注册
     */
    @Override
    public void register(RegisterDto registerDto) {
        System.out.println(">>>>> 手机号注册");
    }

    /**
     * 手机号重置密码
     */
    @Override
    public void reset() {
        System.out.println(">>>>> 手机号重置密码");
    }
}
